<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Emmet写法</title>
    <style>
        div {
            width: 100px;
            height: 200px;
            background-color: #fff;
            width: 500px;
            height: 200px;
            width: 200px;
            height: 500px;
            background-color: #fff;
        }
    </style>
</head>
<body>
    <!-- 类选择器：标签名.类名;如，p.box -->
     <p class="box"></p>
    <!-- id选择器：标签名#id名；如，p#box -->
     <p id="box"></p>
     <!-- 同级标签：标签+标签；如，div+p -->
    <div></div>
    <p></p>
    <!-- 父子级标签：标签>标签；如，div>p -->
     <div>
        <p></p>
     </div>
     <!-- 多个相同标签：标签*个数；如span*3 -->
      <span></span><span></span><span></span>
      <!-- 有内容的标签：标签{内容}；如，div{内容} -->
       <div>内容</div>
</body>
</html>